﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="Xiangmu.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">

    <title>登录</title>
  <%--  <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
    <meta name="description" content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">--%>
    <link href="css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=2.2.0" rel="stylesheet">
    <script language="javascript" type="text/javascript">
        function changeCode() {
            var imgNode = document.getElementById("vimg");
            imgNode.src = "WaterMark.ashx?t=" + (new Date()).valueOf();  // 这里加个时间的参数是为了防止浏览器缓存的问题   
        }  
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="middle-box text-center loginscreen  animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name">ly</h1>

            </div>
            <h3>欢迎使用 </h3>
            <form class="m-t" role="form" action="index.aspx">
                <div class="form-group">
                    <input  id="txtName" class="form-control" placeholder="用户名" required="" runat="server">
                </div>
                <div class="form-group">
                    <input type="password" id="txtPsw" class="form-control" placeholder="密码" required="" runat="server">
                </div>
                <div class="form-group">验证码
                <asp:TextBox ID="txtCode" runat="server" CssClass="textcode" TabIndex="3"></asp:TextBox>
<%--                尝试换成一个html控件，但是并未完成，<div class="form-group">
                    <input  id="txtCode2" CssClass="textcode" TabIndex="3" runat="server">
                </div>--%>
                <img src="WaterMark.ashx" id="vimg" alt="" onclick="changeCode()" />
                </div>
                <div class="form-group">
                <h3>角色 </h3>
                    <asp:DropDownList ID="ddlrole" runat="server">
                        
                        <asp:ListItem Selected="True">普通用户</asp:ListItem>
                        <asp:ListItem >超级管理员</asp:ListItem>
                    </asp:DropDownList>
                </div>
                <div class="form-group">
                <asp:Button ID="btnsubmit" CssClass="btn btn-primary block full-width m-b" 
                    runat="server" Text="登 录" onclick="btnsubmit_Click" />
                </div>
            </form>
        </div>
    </div>
    </form>
</body>
</html>
